﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User.master" AutoEventWireup="true" CodeFile="computer.aspx.cs" Inherits="computer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="box">
<h4 class="loailk_title">Lọc theo loại linh kiện:</h4>
<nav class="menullk">
  
          <asp:Menu ID="loaimt" runat="server" RenderingMode="List" 
               DynamicEnableDefaultPopOutImage="False" EnableTheming="False" 
               IncludeStyleBlock="False" MaximumDynamicDisplayLevels="1" 
               Orientation="Horizontal" onmenuitemclick="loaimt_MenuItemClick">
              
          </asp:Menu>
          <asp:Label ID="Label4" runat="server" Text=""></asp:Label>
         
        </nav>
<asp:DataList ID="DataList1" runat="server" BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" CellPadding="4" 
        GridLines="Both" RepeatColumns="3" onitemcommand="DataList1_ItemCommand" CssClass="block">
        <ItemTemplate>
            <table border="0" cellpadding="0" cellspacing="0"
                style="width: 179px; height: 151px; margin-bottom: 0px;">
                <tr>
                    <td style="text-align: center; width: 198px; height: 19px;">
                        <asp:HyperLink ID="HyperLink1" runat="server" Font-Bold="True" 
                            Font-Underline="False" ForeColor="#000" 
                            Text='<%# Eval("tenmay") %>'></asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: center; width: 198px;">
                        <asp:Image ID="Image2" runat="server" Height="120px" 
                            ImageUrl='<%# "images/"+Eval("HinhAnh") %>' Width="150px" />
                    </td>
                </tr>
                <tr>
                    <td style="text-align: center; width: 198px;">
                        Giá Bán: &nbsp;<asp:Label ID="Label3" runat="server" Style="color: #ff0033" 
                            Text='<%# Eval("GiaBan") %>'></asp:Label>
                        VN&#272;</td>
                </tr>
                <tr>
                    <td style="text-align: center; width: 198px;">
                        <asp:ImageButton ID="Imagegiohang" runat="server" 
                            ImageUrl="images/iconshopping.jpg" CommandArgument='<%# Eval("mamay") %>' 
                            CommandName="Mua" onclick="Imagegiohang_Click" />
                        
                           <asp:ImageButton ID="imag_chitiet" runat="server" 
                           ImageUrl="images/detailbutton.png" CommandArgument='<%# Eval("mamay") %>' Height="21px" />
                      
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>
    </div>
  <table border="0" class="pager">
        <tr>
        <td><asp:button id="cmdPrev" runat="server" text=" << " onclick="cmdPrev_Click"></asp:button></td>
        <td><asp:label id="lblCurrentPage" runat="server"></asp:label></td>
        <td><asp:button id="cmdNext" runat="server" text=" >> " onclick="cmdNext_Click"></asp:button></td>
        </tr>
    </table> 
</asp:Content>



